From e723d41c237052f8c2165b0b8c53d37050c8c82d Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Fri, 18 Dec 2015 12:51:05 +0200 Subject: [PATCH] remove unused imports --- src/bin/read_manifest.rs | 1 - src/cargo/core/package.rs | 2 +- src/cargo/ops/cargo_rustc/custom_build.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/read_manifest.rs b/src/bin/read_manifest.rs index 1f1e09054..379310856 100644 --- a/src/bin/read_manifest.rs +++ b/src/bin/read_manifest.rs @@ -1,5 +1,4 @@ use std::env; -use std::error::Error; use cargo::core::{Package, Source}; use cargo::util::{CliResult, Config}; diff --git a/src/cargo/core/package.rs b/src/cargo/core/package.rs index 4b5778ae3..7de725ebb 100644 --- a/src/cargo/core/package.rs +++ b/src/cargo/core/package.rs @@ -1,5 +1,5 @@ use std::collections::HashMap; -use std::fmt::{self, Formatter}; +use std::fmt; use std::hash; use std::slice; use std::path::{Path, PathBuf}; diff --git a/src/cargo/ops/cargo_rustc/custom_build.rs b/src/cargo/ops/cargo_rustc/custom_build.rs index 880f1b27a..6fe681496 100644 --- a/src/cargo/ops/cargo_rustc/custom_build.rs +++ b/src/cargo/ops/cargo_rustc/custom_build.rs @@ -11,7 +11,7 @@ use util::{internal, ChainError, profile, paths}; use util::Freshness; use super::job::Work; -use super::{fingerprint, process, Kind, Context, Unit}; +use super::{fingerprint, Kind, Context, Unit}; use super::CommandType; /// Contains the parsed output of a custom build script. -- 2.30.2